package gp;

/**
 *
 */
class Variable extends Terminal {

	public String toString(int level) {
		return indent(level) + "x";
	}

	protected Object clone() {
		return new Variable();
	}

	String getName() {
		return "x";
	}

	double eval(double x) {
		return x;
	}

}